﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<System.DateTime?>" %>
<%= Html.TextBox("", (Model.HasValue ? (Model.Value.ToString("dd/MMM/yyyy").ToLower() == "01/jan/0001" ? String.Empty: Model.Value.ToString("dd/MMM/yyyy")) : string.Empty), new { @class = "UseDatePicker date-text-box" })%>